package org.rugby.online.impl;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;
import org.rugby.online.core.base.RboPoint;
import org.rugby.online.impl.DefaultPoint;

public class DefaultPointTest {

	private RboPoint point;
	
	@Before
	public void setUp() throws Exception {
		point = new DefaultPoint(5, 25);
	}

	@Test
	public void testGetX() {
		System.out.println("[TEST X]" + String.valueOf(point.getX()));
		assertTrue(point.getX() == 5);
	}

	@Test
	public void testGetY() {
		System.out.println("[TEST Y]" + String.valueOf(point.getY()));
		assertTrue(point.getY() == 25);
	}

}
